package com.fortune.service.impl;

import com.fortune.dao.MStoreDao;
import com.fortune.service.MStoreService;
import com.fortune.vo.mStoreInit.MInitStoreName;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MStoreServiceImpl implements MStoreService {
    @Autowired
    private MStoreDao mStoreDao;

    /**
     * 查询厂商仓库
     * @param companyId
     * @return
     */
    @Override
    public List<MInitStoreName> queryStoreNameList(String companyId) {
        return mStoreDao.queryStoreNameList(companyId);
    }
}
